-- GENERATED SPELL FOR [Wastewander Assassin] --


function spell0_5623(pUnit, Event) --@Execute,n/a--
pUnit:FullCastSpellOnTarget(7160,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_5623', 0, 1)
end

function Sorts_5623(pUnit, Event)
local choix_sorts_5623 = math.random(0, 0)
if choix_sorts_5623 == 0 then
pUnit:RegisterEvent('spell0_5623', 1, 1)
end
end

function mob5623_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5623', math.random(1500, 3000), 1)
end

function mob5623_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5623_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5623_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5623, 1, 'mob5623_Action')
RegisterUnitEvent(5623, 2, 'mob5623_Leave')
RegisterUnitEvent(5623, 3, 'mob5623_Kill')
RegisterUnitEvent(5623, 4, 'mob5623_Die')
